const AdminUser = require('./models/AdminUser')

async function find() {
  let list = await AdminUser.findAll({
    attributes: ['username', 'id'],
    // where: {
    //   username: 'lb'
    // },
    limit: 5
  })
  
  return list
}


find().then(res => {
  res.map(item => {
    console.log(item.dataValues);
  })
  
})